from django.urls import path
from . import views

app_name = 'ai_music'

urlpatterns = [
    path('', views.music_list, name='music_list'),
    path('create/', views.create_music, name='create_music'),
    
    # 音频合成相关路由
    path('audio-synthesis/', views.audio_synthesis_list, name='audio_synthesis_list'),
    path('audio-synthesis/create/', views.create_audio_synthesis, name='create_audio_synthesis'),
    path('audio-synthesis/synthesize/', views.audio_synthesize_api, name='audio_synthesize_api'),
    path('audio-synthesis/<int:synthesis_id>/', views.audio_detail, name='audio_detail'),
    path('audio-proxy/<int:synthesis_id>/', views.audio_proxy, name='audio_proxy'),
]